MultipartFormData

public interface MultipartFormData implements UploadData

An upload data of the multipart/form-data content type.

Types

Link copied to clipboard
public final class Builder
A builder of MultipartFormData.
Link copied to clipboard
public interface Pair
A key-value pair that represents a segment of a multi-part form data.

Functions

Link copied to clipboard
public Array<byte> bytes()
Returns an array containing the upload data bytes of the associated URL request.
Link copied to clipboard
Returns the content type of this upload data as specified in the Content-Type header.
Link copied to clipboard
Returns an immutable list of the key-value pairs each representing a segment of a multi-part form data or an empty list if the form does not contain any data.
Link copied to clipboard